Structured Lucid ∗
نویسنده
چکیده
Structured Lucid is an ISWIM-like language formed by combining Basic Lucid and USWIM. Structured Lucid is almost a member of the USWIM family, except that a distinction is made between two kinds of function variables: those which denote functions mapping streams (histories) of data objects to streams of data objects, and those which denote streams of functions mapping data objects to data objects. The inference and manipulation rules of Structured Lucid combine Basic Lucid’s facility for implicit reasoning about time with the modular or nested reasoning of USWIM. The distinction between stream functions and streams of functions is inherent in the ideas of Basic Lucid and has a natural operational interpretation. On one hand, a module which computes a stream of functions can be thought of as defining a subcomputation which is carried out while the main computation ‘waits’ or is ‘frozen’; on the other hand, some modules which compute stream functions can be thought of as defining separate computations carried out in parallel with the main computation (a form of coroutine). In general, though, a module may freeze some but not all of its parameters or globals, and for these various combinations of the two interpretations are appropriate.
منابع مشابه
Lucid - A Formal System for Writing and Proving Programs
Lucid is both a programming language and a formal system for proving properties of Lucid programs. The programming language is unconventional in many ways, although programs are readily understood as using assignment statements and loops in a “structured” fashion. Semantically, an assignment statement is really an equation between “histories”, and a whole program is simply an unordered set of s...
متن کاملpdf2table: A Method to Extract Table Information from PDF Files
Tables are a common structuring element in many documents, such as PDF files. To reuse such tables, appropriate methods need to be develop, which capture the structure and the content information. We have developed several heuristics which together recognize and decompose tables in PDF files and store the extracted data in a structured data format (XML) for easier reuse. Additionally, we implem...
متن کاملA Logical Programming Language∗
In this paper we consider a family of languages (USWIM) which is based on Landin’s ISWIM (the individual languages being determined by appropriate continuous algebras of data objects and operations on these objects). We give a simple mathematical semantics for USWIM, and also give a system of program manipulation rules and a system of inference rules for reasoning about USWIM programs, the latt...
متن کاملA Critical History of the Embodied Cognitive Research Paradigm
Embodied Cognition by Lawrence Shapiro is a fine text that focuses on the issues of body, embodiment, and the environment in cognitive science, philosophy, and psychology. As the title suggests, Shapiro's book offers us a glimpse into the broadly defined, and still growing, research paradigm known as "embodied" cognition. Within this particular paradigm the body and environment are placed in th...
متن کاملویژگیهای روانسنجی پرسشنامه رؤیای شفاف در دانشجویان دانشگاه سمنان
Objectives: The aim of the present study was to evaluate the psychometric properties of Lucid Dream Questionnaire in a sample of Semnan University students. Method: The population consisted of all the students of Semnan University in 2014-2015 academic year. The sample included 350 students selected by stratified random sampling method. All participants completed Lucid Dream Questionnaire, Catt...
متن کامل